<!--登录-->
<div class="registered" ng-controller="registeredCtrl as vm">
    <div class="main">
        <div class="title">
            注册报名
        </div>
        <div class="telephone">
            <div class="img">
                姓名
            </div>
            <input type="text" data-ng-model="vm.data.name" placeholder="请输入姓名">
        </div>
        <div class="telephone">
            <div class="img">
                性别
            </div>
            <!--<input type="text" data-ng-model="vm.data.name" placeholder="请输入性别">-->
            <select name="" id="" data-ng-model="vm.data.sex">
                <option value="">请选择</option>
                <option value="0">男</option>
                <option value="1">女</option>
            </select>
        </div>
        <div class="telephone">
            <div class="img">
                出生年月
            </div>
            <input type="text" data-ng-model="vm.data.birthday" data-field="date" readonly required
                   placeholder="请选择日期">
        </div>
        <div class="telephone">
            <div class="img">
                手机号码
            </div>
            <input type="number" data-ng-model="vm.data.mobile" placeholder="请输入手机号">
            <span class="color-red_1" ng-disabled="vm.timer" data-ng-click="vm.sendSms(vm.data.mobile)">
                <span ng-if="vm.showTimer">{{vm.timerCount}}</span>
                {{vm.text||'获取验证码'}}
            </span>
        </div>
        <div class="telephone">
            <div class="img">
                验证码
            </div>
            <input type="number" data-ng-model="vm.data.code" placeholder="请输入验证码">
        </div>
        <div data-ng-if="vm.invite_mobile" style="width: 600px;margin: 20px auto 0;"><span style="color: #00a95e;">{{vm.invite_name}}</span>邀请您注册</div>
        <div data-ng-if="vm.invite_mobile" style="width: 600px;margin: 0px auto 0;">邀请人手机号：{{vm.invite_mobile}}</div>
    </div>

    <div class="add-button" data-ng-click="vm.registered()">
        确定
    </div>
    <div id="dtBox"></div>
</div>